From: Richard M. Stallman Date: Fri, 16 Jan 2004 18:20:00 +0000 (+0000) Subject: (cl-cannot-unload): New function. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24479 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a9bdc9fa62bb10b5891b514f55ebca0ebdcf12e4;p=emacs.git (cl-cannot-unload): New function. (cl-unload-hook): Defvar this to run cl-cannot-unload. --- diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el index b8d9cd5e80c..b098a467f9f 100644 --- a/lisp/emacs-lisp/cl.el +++ b/lisp/emacs-lisp/cl.el @@ -108,6 +108,10 @@ printer proceeds to the next function on the list. This variable is not used at present, but it is defined in hopes that a future Emacs interpreter will be able to use it.") +(defvar cl-unload-hook '(cl-cannot-unload) + "Prevent unloading the feature `cl', since it does not work.") +(defun cl-cannot-unload () + (error "Cannot unload the feature `cl'")) ;;; Predicates.